<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>巫谢的博客</title>
    <!--
    <link rel="stylesheet" href="/blog/Public/bootstrap/css/bootstrap.min.css">
    <script src="/blog/Public/bootstrap/scripts/jquery.min.js"></script>
    <script src="/blog/Public/bootstrap/js/bootstrap.min.js"></script>
    -->
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <!--<script type="text/javascript" src="http://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
    <script type="text/javascript" src="http://netdna.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <link href="http://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="http://pingendo.github.io/pingendo-bootstrap/themes/default/bootstrap.css" rel="stylesheet" type="text/css">-->
    <script type="text/javascript" src="/blog/Public/js/jquery.min.js"></script>
    <script type="text/javascript" src="/blog/Public/js/bootstrap.min.js"></script>
    <link href="/blog/Public/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="/blog/Public/css/bootstrap.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="section">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <h1 class="text-left">巫谢的博客</h1>
                <ul class="text-right">
                    <li>欢迎您：<?php echo ($admin_name); ?></li>
                    <li><a href="/blog/" target="_blank">前台首页</a></li>
                    <li><a href="<?php echo U('Login/logout');?>">退出登录</a></li>
                </ul>
            </div>
        </div>
    </div>
</div>
<div class="section">
    <div class="container">
        <div class="row">
            <div class="col-md-2">
                <p>菜单</p>
                <ul class="nav nav-pills nav-stacked">
                    <li><a href="<?php echo U('Index /index');?>">后台首页</a></li>
                    <li><a href="#">新增博文</a></li>
                    <li><a href="<?php echo U('Blog/index');?>">博文列表</a></li>
                    <li><a href="<?php echo U('Category/add');?>">新增分类</a></li>
                    <li><a href="<?php echo U('Category/index');?>">分类列表</a></li>
                    <li><a href="#">回收站</a></li>
                </ul>
            </div>
            <div class="col-md-10">
                <div class="title">后台首页</div>
<dl class="bordered">
    <dt>欢迎访问</dt>
    <dd>欢迎进入巫谢的博客后台！请从左侧选择一个操作。</dd>
    <dd></dd>
</dl>
<dl class="bordered">
    <dt>服务器信息</dt>
    <dd>系统环境：<?php echo ($serverInfo['server_version']); ?></dd>
    <dd>服务器时间：<?php echo ($serverInfo['server_time']); ?></dd>
    <dd>MySQL版本：<?php echo ($serverInfo['mysql_version']); ?></dd>
    <dd>文件上传限制：<?php echo ($serverInfo['max_upload']); ?></dd>
    <dd>脚本执行时限：<?php echo ($serverInfo['max_ex_time']); ?></dd>
</dl>
            </div>
        </div>
    </div>
</div>
<footer class="section section-primary">
    <div class="container">

    </div>
</footer>
</body>
</html>